package com.universe.family.model.cronous.season2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Qualifier(value="season2DataSource")
@Table(name="CharacterData")
@Data public class DataBean {
    @Id
    @Column(name="Character_Key")
    int ckey;
    @Column(name="Name")
    String name;
    @Column(name="Level")
    int level;
    @Column(name="AdminLevel")
    int adminlevel;
    @Column(name="Pos")
    int pos;
    @Column(name="Kind")
    int kind;
    @Column(name="LastZone")
    int lastzone;
    @Column(name="Str")
    int str;
    @Column(name="Dex")
    int dex;
    @Column(name="Con")
    int con;
    @Column(name="Int")
    int inte;
    @Column(name="Vir")
    int vir;
    @Column(name="HP")
    int hp;
    @Column(name="MP")
    int mp;
    @Column(name="State_Point")
    int statepoint;
    @Column(name="Skill_Point")
    int skillpoint;
    @Column(name="Exp")
    float exp;
    @Column(name="Gold")
    int gold;
    @Column(name="Gold_InStash")
    long goldinstash;
    @Column(name="SP")
    int sp;
    @Column(name="ApExp_Type1")
    float apexptype1;
    @Column(name="ApExp_Type2")
    float apexptype2;
    @Column(name="PkMode")
    int pkmode;
    @Column(name="PkTime")
    int pktime;
    @Column(name="Virtue")
    int virtue;
    @Column(name="CreateTime")
    Date createtime;
    @Column(name="UpdateTime")
    Date updatetime;
    @Column(name="Sex")
    int sex;
}
